package com.koo.modules.product.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2022-12-20 16:45:06
 */
@Data
@ApiModel("药品属性表")
@TableName("product_attr")
public class ProductAttrEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId
    private Long productId;

    @ExcelIgnore
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    @ColumnWidth(11)
    @ExcelProperty("数据源")
    @ApiModelProperty(value = "数据源")
    private String dataSource;

    @ColumnWidth(11)
    @ExcelProperty("普通名称")
    @ApiModelProperty(value = "普通名称")
    private String genericName;

    @ColumnWidth(11)
    @ExcelProperty("批发原价")
    @ApiModelProperty(value = "批发原价")
    private BigDecimal tradeOldPrice;

    @ColumnWidth(11)
    @ExcelProperty("平均成本价")
    @ApiModelProperty(value = "平均成本价")
    private BigDecimal averagePrice;

    @ColumnWidth(11)
    @ExcelProperty("售价1")
    @ApiModelProperty(value = "售价1")
    private BigDecimal sellingPrice1;

    @ColumnWidth(11)
    @ExcelProperty("售价2")
    @ApiModelProperty(value = "售价2")
    private BigDecimal sellingPrice2;

    @ColumnWidth(11)
    @ExcelProperty("折扣价")
    @ApiModelProperty(value = "折扣价")
    private BigDecimal discountPrice;

    @ColumnWidth(11)
    @ExcelProperty("最高价")
    @ApiModelProperty(value = "最高价")
    private BigDecimal topPrice;


    @ColumnWidth(11)
    @ExcelProperty("最低价")
    @ApiModelProperty(value = "最低价")
    private BigDecimal lowestPrice;

    @ColumnWidth(11)
    @ExcelProperty("属性id")
    @ApiModelProperty(value = "属性id")
    private String propertyId;

    @ColumnWidth(11)
    @ExcelProperty("属性名称")
    @ApiModelProperty(value = "属性名称")
    private String propertyName;

    @ColumnWidth(11)
    @ExcelProperty("验收标准")
    @ApiModelProperty(value = "验收标准")
    private String acceptanceLevel;

    @ColumnWidth(11)
    @ExcelProperty("储存条件")
    @ApiModelProperty(value = "储存条件")
    private String storageCondition;

    @ColumnWidth(11)
    @ExcelProperty("本位码")
    @ApiModelProperty(value = "本位码")
    private String standardCode;

    @ColumnWidth(11)
    @ExcelProperty("注册证号")
    @ApiModelProperty(value = "注册证号")
    private String gspRegisterNo;

    @ColumnWidth(11)
    @ExcelProperty("注册商标")
    @ApiModelProperty(value = "注册商标")
    private String gspRegisterTrademark;

    @ColumnWidth(11)
    @ExcelProperty("功效")
    @ApiModelProperty(value = "功效")
    private String effect;

    @ColumnWidth(11)
    @ExcelProperty("性状")
    @ApiModelProperty(value = "性状")
    private String characterInfo;

    @ExcelIgnore
    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ColumnWidth(11)
    @ExcelProperty(value = "品牌名称", index = 44)
    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ColumnWidth(11)
    @ExcelProperty("药品分类")
    @ApiModelProperty(value = "药品分类")
    private String drugType;

    @ColumnWidth(11)
    @ExcelProperty("货位号")
    @ApiModelProperty(value = "货位号")
    private String goodsAllocation;

    @ColumnWidth(11)
    @ExcelProperty("GSP类别Id")
    @ApiModelProperty(value = "GSP类别Id")
    private String gspType;

    @ColumnWidth(11)
    @ExcelProperty("功能分类")
    @ApiModelProperty(value = "功能分类")
    private String gspFuncType;

    @ColumnWidth(11)
    @ExcelProperty("经营范围")
    @ApiModelProperty(value = "经营范围")
    private String gspScopeType;

    @ColumnWidth(11)
    @ExcelProperty("特殊药品")
    @ApiModelProperty(value = "特殊药品")
    private String gspSpecialType;

    @ColumnWidth(11)
    @ExcelProperty("养护类型")
    @ApiModelProperty(value = "养护类型")
    private String conserveType;

    @ColumnWidth(11)
    @ExcelProperty("养护理由")
    @ApiModelProperty(value = "养护理由")
    private String conserveReason;

    @ColumnWidth(11)
    @ExcelProperty("养护措施")
    @ApiModelProperty(value = "养护措施")
    private String conserveMeasure;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否积分")
    private Integer isScore;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否折扣")
    private Integer isDiscount;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否首营")
    private Integer isFirstSale;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否赠品")
    private Integer isGift;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否进口药")
    private Integer isImportedDrug;

    @ExcelIgnore
    @ColumnWidth(11)
    @ApiModelProperty(value = "医疗器械类别")
    private String instrumnetType;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "蛋白同化制剂标志")
    private Integer isEggPreparation;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "二类精神药品标志")
    private Integer isTwoClassmentalDrug;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否含黄麻碱")
    private Integer isEphedrine;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "含肽类激素标志")
    private Integer isThormone;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "一类精神药品标志")
    private Integer isMindDrug;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "危险化学品标志")
    private Integer isDangerChemistry;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "麻醉药品标志")
    private Integer isAnesthetic;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "医疗用毒性品")
    private Integer isMedicalToxicity;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "疫苗")
    private Integer isVaccine;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "诊断试剂")
    private Integer isDiagnosticReagent;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "含兴奋剂药品")
    private Integer isStimulant;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "收货是否需要防串码")
    private Integer isEan1;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "拣货是否需要防串码")
    private Integer isEan2;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "是否保健品标志")
    private Integer isHealthFood;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "食品标志")
    private Integer isFood;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "终止妊娠品")
    private Integer isTermination;

    @ColumnWidth(11)
    @ExcelProperty("低温品种")
    @ApiModelProperty(value = "低温品种")
    private Integer lowTemperature;

    @ColumnWidth(11)
    @ExcelIgnore
    @ApiModelProperty(value = "允许网上销售0否1是")
    private Integer isWebSale;

    @ColumnWidth(11)
    @ExcelProperty("门店必备分类")
    @ApiModelProperty(value = "门店必备分类")
    private String storeRequireClass;

    @ColumnWidth(11)
    @ExcelProperty("OTC分类")
    @ApiModelProperty(value = "OTC分类")
    private String otcClass;

    @ColumnWidth(11)
    @ExcelProperty("季节属性分类")
    @ApiModelProperty(value = "季节属性分类")
    private String seasonClass;

    @ColumnWidth(11)
    @ExcelProperty("核心品种分类")
    @ApiModelProperty(value = "核心品种分类")
    private String coreItemClass;

    @ColumnWidth(11)
    @ExcelProperty("配送必备分类")
    @ApiModelProperty(value = "配送必备分类")
    private String deliveryRequireClass;

    @ColumnWidth(11)
    @ExcelProperty("区域范围名称")
    @ApiModelProperty(value = "区域范围名称")
    private String arearangeName;

    @ColumnWidth(11)
    @ExcelProperty("ABC分类属性")
    @ApiModelProperty(value = "ABC分类属性")
    private String abcClass;

    @ColumnWidth(11)
    @ExcelProperty("陈列区")
    @ApiModelProperty(value = "陈列区")
    private String exhibitionArea;


    @ColumnWidth(11)
    @ExcelProperty("业务员")
    @ApiModelProperty(value = "业务员")
    private String salesman;

    @ColumnWidth(11)
    @ExcelProperty("业务员电话")
    @ApiModelProperty(value = "业务员电话")
    private String salesmanMobile;

    @ColumnWidth(11)
    @ExcelProperty("外部编码")
    @ApiModelProperty(value = "外部编码")
    private String outCode;


}
